package com.hutao.medical.mapper.quality;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.hutao.medical.pojo.quality.PointsStandard;

public interface PointsStandardMapper {


    int deleteByPrimaryKey(Integer id);

    int insert(PointsStandard record);

    int insertSelective(PointsStandard record);


    PointsStandard selectByPrimaryKey(Integer id);



    int updateByPrimaryKeySelective(PointsStandard record);

    int updateByPrimaryKey(PointsStandard record);
    
    /**
     * 查询一级质控诊疗记录
     * @return
     */
    List<PointsStandard> getFirstProject();
    
    /**
     * 查询诊疗记录
     * @param parentId
     * @return
     */
    List<PointsStandard> getProjectList(@Param("parentId")Integer parentId);
}